package com.tramy.data.export.model;

import org.springframework.beans.BeanUtils;

import java.math.BigDecimal;
import java.util.Date;

public class Employee {
    private BigDecimal employeeId;

    private String employeeCode;

    private String employeeName;

    private String employeeSex;

    private Date employeeBirthday;

    private String employPolity;

    private String employeeAddress;

    private String employeePhone;

    private String employeeRemark;

    private String employeeMsidn;

    private String employeeShortNumber;

    private String employeeOfficeTel;

    private String employeeOfficeAddress;

    private String employeeEmail;

    private String employeeEmail2;

    private String employeeStationCode;

    private String employeeClass;

    private String employDiploma;

    private String employSchool;

    private String employeeSpecialty;

    private Date employeeInDate;

    private String employeeState;

    private Date employeeOutDate;

    private BigDecimal employeeOrder;

    private BigDecimal employeeBuildId;

    private Date employeeBuildTime;

    private String employeeProvince;

    private String employeeCity;

    private String employeeArea;

    private String employeeSpell;

    private BigDecimal updateId;

    private Date updateTime;

    private BigDecimal parentEmployeeId;

    private String employeePointLatlon;

    private String employeePointExplain;

    private String employeeFax;

    private String employeePostcode;

    private BigDecimal employeeType;

    private String employeeSpare1;

    private String employeeSpare2;

    private String employeeSpare3;

    private String employeeSpare4;

    private String employeeSpare5;

    private String employeeSpare6;

    public BigDecimal getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(BigDecimal employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeCode() {
        return employeeCode;
    }

    public void setEmployeeCode(String employeeCode) {
        this.employeeCode = employeeCode == null ? null : employeeCode.trim();
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName == null ? null : employeeName.trim();
    }

    public String getEmployeeSex() {
        return employeeSex;
    }

    public void setEmployeeSex(String employeeSex) {
        this.employeeSex = employeeSex == null ? null : employeeSex.trim();
    }

    public Date getEmployeeBirthday() {
        return employeeBirthday;
    }

    public void setEmployeeBirthday(Date employeeBirthday) {
        this.employeeBirthday = employeeBirthday;
    }

    public String getEmployPolity() {
        return employPolity;
    }

    public void setEmployPolity(String employPolity) {
        this.employPolity = employPolity == null ? null : employPolity.trim();
    }

    public String getEmployeeAddress() {
        return employeeAddress;
    }

    public void setEmployeeAddress(String employeeAddress) {
        this.employeeAddress = employeeAddress == null ? null : employeeAddress.trim();
    }

    public String getEmployeePhone() {
        return employeePhone;
    }

    public void setEmployeePhone(String employeePhone) {
        this.employeePhone = employeePhone == null ? null : employeePhone.trim();
    }

    public String getEmployeeRemark() {
        return employeeRemark;
    }

    public void setEmployeeRemark(String employeeRemark) {
        this.employeeRemark = employeeRemark == null ? null : employeeRemark.trim();
    }

    public String getEmployeeMsidn() {
        return employeeMsidn;
    }

    public void setEmployeeMsidn(String employeeMsidn) {
        this.employeeMsidn = employeeMsidn == null ? null : employeeMsidn.trim();
    }

    public String getEmployeeShortNumber() {
        return employeeShortNumber;
    }

    public void setEmployeeShortNumber(String employeeShortNumber) {
        this.employeeShortNumber = employeeShortNumber == null ? null : employeeShortNumber.trim();
    }

    public String getEmployeeOfficeTel() {
        return employeeOfficeTel;
    }

    public void setEmployeeOfficeTel(String employeeOfficeTel) {
        this.employeeOfficeTel = employeeOfficeTel == null ? null : employeeOfficeTel.trim();
    }

    public String getEmployeeOfficeAddress() {
        return employeeOfficeAddress;
    }

    public void setEmployeeOfficeAddress(String employeeOfficeAddress) {
        this.employeeOfficeAddress = employeeOfficeAddress == null ? null : employeeOfficeAddress.trim();
    }

    public String getEmployeeEmail() {
        return employeeEmail;
    }

    public void setEmployeeEmail(String employeeEmail) {
        this.employeeEmail = employeeEmail == null ? null : employeeEmail.trim();
    }

    public String getEmployeeEmail2() {
        return employeeEmail2;
    }

    public void setEmployeeEmail2(String employeeEmail2) {
        this.employeeEmail2 = employeeEmail2 == null ? null : employeeEmail2.trim();
    }

    public String getEmployeeStationCode() {
        return employeeStationCode;
    }

    public void setEmployeeStationCode(String employeeStationCode) {
        this.employeeStationCode = employeeStationCode == null ? null : employeeStationCode.trim();
    }

    public String getEmployeeClass() {
        return employeeClass;
    }

    public void setEmployeeClass(String employeeClass) {
        this.employeeClass = employeeClass == null ? null : employeeClass.trim();
    }

    public String getEmployDiploma() {
        return employDiploma;
    }

    public void setEmployDiploma(String employDiploma) {
        this.employDiploma = employDiploma == null ? null : employDiploma.trim();
    }

    public String getEmploySchool() {
        return employSchool;
    }

    public void setEmploySchool(String employSchool) {
        this.employSchool = employSchool == null ? null : employSchool.trim();
    }

    public String getEmployeeSpecialty() {
        return employeeSpecialty;
    }

    public void setEmployeeSpecialty(String employeeSpecialty) {
        this.employeeSpecialty = employeeSpecialty == null ? null : employeeSpecialty.trim();
    }

    public Date getEmployeeInDate() {
        return employeeInDate;
    }

    public void setEmployeeInDate(Date employeeInDate) {
        this.employeeInDate = employeeInDate;
    }

    public String getEmployeeState() {
        return employeeState;
    }

    public void setEmployeeState(String employeeState) {
        this.employeeState = employeeState == null ? null : employeeState.trim();
    }

    public Date getEmployeeOutDate() {
        return employeeOutDate;
    }

    public void setEmployeeOutDate(Date employeeOutDate) {
        this.employeeOutDate = employeeOutDate;
    }

    public BigDecimal getEmployeeOrder() {
        return employeeOrder;
    }

    public void setEmployeeOrder(BigDecimal employeeOrder) {
        this.employeeOrder = employeeOrder;
    }

    public BigDecimal getEmployeeBuildId() {
        return employeeBuildId;
    }

    public void setEmployeeBuildId(BigDecimal employeeBuildId) {
        this.employeeBuildId = employeeBuildId;
    }

    public Date getEmployeeBuildTime() {
        return employeeBuildTime;
    }

    public void setEmployeeBuildTime(Date employeeBuildTime) {
        this.employeeBuildTime = employeeBuildTime;
    }

    public String getEmployeeProvince() {
        return employeeProvince;
    }

    public void setEmployeeProvince(String employeeProvince) {
        this.employeeProvince = employeeProvince == null ? null : employeeProvince.trim();
    }

    public String getEmployeeCity() {
        return employeeCity;
    }

    public void setEmployeeCity(String employeeCity) {
        this.employeeCity = employeeCity == null ? null : employeeCity.trim();
    }

    public String getEmployeeArea() {
        return employeeArea;
    }

    public void setEmployeeArea(String employeeArea) {
        this.employeeArea = employeeArea == null ? null : employeeArea.trim();
    }

    public String getEmployeeSpell() {
        return employeeSpell;
    }

    public void setEmployeeSpell(String employeeSpell) {
        this.employeeSpell = employeeSpell == null ? null : employeeSpell.trim();
    }

    public BigDecimal getUpdateId() {
        return updateId;
    }

    public void setUpdateId(BigDecimal updateId) {
        this.updateId = updateId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public BigDecimal getParentEmployeeId() {
        return parentEmployeeId;
    }

    public void setParentEmployeeId(BigDecimal parentEmployeeId) {
        this.parentEmployeeId = parentEmployeeId;
    }

    public String getEmployeePointLatlon() {
        return employeePointLatlon;
    }

    public void setEmployeePointLatlon(String employeePointLatlon) {
        this.employeePointLatlon = employeePointLatlon == null ? null : employeePointLatlon.trim();
    }

    public String getEmployeePointExplain() {
        return employeePointExplain;
    }

    public void setEmployeePointExplain(String employeePointExplain) {
        this.employeePointExplain = employeePointExplain == null ? null : employeePointExplain.trim();
    }

    public String getEmployeeFax() {
        return employeeFax;
    }

    public void setEmployeeFax(String employeeFax) {
        this.employeeFax = employeeFax == null ? null : employeeFax.trim();
    }

    public String getEmployeePostcode() {
        return employeePostcode;
    }

    public void setEmployeePostcode(String employeePostcode) {
        this.employeePostcode = employeePostcode == null ? null : employeePostcode.trim();
    }

    public BigDecimal getEmployeeType() {
        return employeeType;
    }

    public void setEmployeeType(BigDecimal employeeType) {
        this.employeeType = employeeType;
    }

    public String getEmployeeSpare1() {
        return employeeSpare1;
    }

    public void setEmployeeSpare1(String employeeSpare1) {
        this.employeeSpare1 = employeeSpare1 == null ? null : employeeSpare1.trim();
    }

    public String getEmployeeSpare2() {
        return employeeSpare2;
    }

    public void setEmployeeSpare2(String employeeSpare2) {
        this.employeeSpare2 = employeeSpare2 == null ? null : employeeSpare2.trim();
    }

    public String getEmployeeSpare3() {
        return employeeSpare3;
    }

    public void setEmployeeSpare3(String employeeSpare3) {
        this.employeeSpare3 = employeeSpare3 == null ? null : employeeSpare3.trim();
    }

    public String getEmployeeSpare4() {
        return employeeSpare4;
    }

    public void setEmployeeSpare4(String employeeSpare4) {
        this.employeeSpare4 = employeeSpare4 == null ? null : employeeSpare4.trim();
    }

    public String getEmployeeSpare5() {
        return employeeSpare5;
    }

    public void setEmployeeSpare5(String employeeSpare5) {
        this.employeeSpare5 = employeeSpare5 == null ? null : employeeSpare5.trim();
    }

    public String getEmployeeSpare6() {
        return employeeSpare6;
    }

    public void setEmployeeSpare6(String employeeSpare6) {
        this.employeeSpare6 = employeeSpare6 == null ? null : employeeSpare6.trim();
    }

    @Override
    public String toString() {
        return "Employee{" +
                "employeeId=" + employeeId +
                ", employeeCode='" + employeeCode + '\'' +
                ", employeeName='" + employeeName + '\'' +
                ", employeeSex='" + employeeSex + '\'' +
                ", employeeBirthday=" + employeeBirthday +
                ", employPolity='" + employPolity + '\'' +
                ", employeeAddress='" + employeeAddress + '\'' +
                ", employeePhone='" + employeePhone + '\'' +
                ", employeeRemark='" + employeeRemark + '\'' +
                ", employeeMsidn='" + employeeMsidn + '\'' +
                ", employeeShortNumber='" + employeeShortNumber + '\'' +
                ", employeeOfficeTel='" + employeeOfficeTel + '\'' +
                ", employeeOfficeAddress='" + employeeOfficeAddress + '\'' +
                ", employeeEmail='" + employeeEmail + '\'' +
                ", employeeEmail2='" + employeeEmail2 + '\'' +
                ", employeeStationCode='" + employeeStationCode + '\'' +
                ", employeeClass='" + employeeClass + '\'' +
                ", employDiploma='" + employDiploma + '\'' +
                ", employSchool='" + employSchool + '\'' +
                ", employeeSpecialty='" + employeeSpecialty + '\'' +
                ", employeeInDate=" + employeeInDate +
                ", employeeState='" + employeeState + '\'' +
                ", employeeOutDate=" + employeeOutDate +
                ", employeeOrder=" + employeeOrder +
                ", employeeBuildId=" + employeeBuildId +
                ", employeeBuildTime=" + employeeBuildTime +
                ", employeeProvince='" + employeeProvince + '\'' +
                ", employeeCity='" + employeeCity + '\'' +
                ", employeeArea='" + employeeArea + '\'' +
                ", employeeSpell='" + employeeSpell + '\'' +
                ", updateId=" + updateId +
                ", updateTime=" + updateTime +
                ", parentEmployeeId=" + parentEmployeeId +
                ", employeePointLatlon='" + employeePointLatlon + '\'' +
                ", employeePointExplain='" + employeePointExplain + '\'' +
                ", employeeFax='" + employeeFax + '\'' +
                ", employeePostcode='" + employeePostcode + '\'' +
                ", employeeType=" + employeeType +
                ", employeeSpare1='" + employeeSpare1 + '\'' +
                ", employeeSpare2='" + employeeSpare2 + '\'' +
                ", employeeSpare3='" + employeeSpare3 + '\'' +
                ", employeeSpare4='" + employeeSpare4 + '\'' +
                ", employeeSpare5='" + employeeSpare5 + '\'' +
                ", employeeSpare6='" + employeeSpare6 + '\'' +
                '}';
    }

    public TramyEmployee convert() {
        TramyEmployee tramyEmployee = new TramyEmployee();
        BeanUtils.copyProperties(this,tramyEmployee);
        return tramyEmployee;
    }
}